﻿Public Class NguoiThueNhaBUS

    Private empDAL As NguoiThueNhaDAO

    Public Sub New()
        empDAL = New NguoiThueNhaDAO
    End Sub

    Public Function Getdata() As List(Of NguoiThueNhaDTO)
        Return empDAL.Getdata()
    End Function

    Public Function IsUpNT(ByVal emp As NguoiThueNhaDTO, ByVal f As Boolean) As Boolean
        Return empDAL.IsUpNT(emp, f)
    End Function

    Public Function DeleteNT(ByVal emp As NguoiThueNhaDTO)
        Return empDAL.DeleteNT(emp)
    End Function

End Class
